/// code : "0"
/// status : "succeed"
/// message : "操作成功"
/// error : null
/// errorData : null
/// data : {"pageNum":1,"pageSize":20,"size":1,"startRow":0,"endRow":0,"total":1,"pages":1,"list":[{"id":"1","name":"test","logoPath":"operation/data/app/logo/692307082761867264.jpeg","logoUrl":"http://cunw-edu-statics-test.oss-cn-hangzhou.aliyuncs.com/operation/data/app/logo/692307082761867264.jpeg","describes":"xx","stages":"1","grades":null,"productId":"C001","coefficient":"0","downloadNumber":0,"startNumber":0,"detailsNumber":0,"status":1,"createDate":null,"updateDate":null,"versionId":"1","packageName":"com.aixuexi.gushi","md5Value":"2361e9434372dbe5f2d207cd1cdc8c0f","versionNumber":1,"versionName":"1.0.0","versionDesc":null,"fileSize":null,"appStatus":0,"authApplyId":null}],"firstPage":1,"prePage":0,"nextPage":0,"lastPage":1,"isFirstPage":true,"isLastPage":true,"hasPreviousPage":false,"hasNextPage":false,"navigatePages":8,"navigatepageNums":[1]}
/// failed : false
/// resultMessage : "操作成功"
/// succeed : true

class B {
  String _code;
  String _status;
  String _message;
  dynamic _error;
  dynamic _errorData;
  DataBean _data;
  bool _failed;
  String _resultMessage;
  bool _succeed;

  String get code => _code;
  String get status => _status;
  String get message => _message;
  dynamic get error => _error;
  dynamic get errorData => _errorData;
  DataBean get data => _data;
  bool get failed => _failed;
  String get resultMessage => _resultMessage;
  bool get succeed => _succeed;

  B(this._code, this._status, this._message, this._error, this._errorData, this._data, this._failed, this._resultMessage, this._succeed);

  B.map(dynamic obj) {
    this._code = obj["code"];
    this._status = obj["status"];
    this._message = obj["message"];
    this._error = obj["error"];
    this._errorData = obj["errorData"];
    this._data = obj["data"];
    this._failed = obj["failed"];
    this._resultMessage = obj["resultMessage"];
    this._succeed = obj["succeed"];
  }

  Map<String, dynamic> toMap() {
    var map = new Map<String, dynamic>();
    map["code"] = _code;
    map["status"] = _status;
    map["message"] = _message;
    map["error"] = _error;
    map["errorData"] = _errorData;
    map["data"] = _data;
    map["failed"] = _failed;
    map["resultMessage"] = _resultMessage;
    map["succeed"] = _succeed;
    return map;
  }

}

/// pageNum : 1
/// pageSize : 20
/// size : 1
/// startRow : 0
/// endRow : 0
/// total : 1
/// pages : 1
/// list : [{"id":"1","name":"test","logoPath":"operation/data/app/logo/692307082761867264.jpeg","logoUrl":"http://cunw-edu-statics-test.oss-cn-hangzhou.aliyuncs.com/operation/data/app/logo/692307082761867264.jpeg","describes":"xx","stages":"1","grades":null,"productId":"C001","coefficient":"0","downloadNumber":0,"startNumber":0,"detailsNumber":0,"status":1,"createDate":null,"updateDate":null,"versionId":"1","packageName":"com.aixuexi.gushi","md5Value":"2361e9434372dbe5f2d207cd1cdc8c0f","versionNumber":1,"versionName":"1.0.0","versionDesc":null,"fileSize":null,"appStatus":0,"authApplyId":null}]
/// firstPage : 1
/// prePage : 0
/// nextPage : 0
/// lastPage : 1
/// isFirstPage : true
/// isLastPage : true
/// hasPreviousPage : false
/// hasNextPage : false
/// navigatePages : 8
/// navigatepageNums : [1]

class DataBean {
  int _pageNum;
  int _pageSize;
  int _size;
  int _startRow;
  int _endRow;
  int _total;
  int _pages;
  List<ListBean> _list;
  int _firstPage;
  int _prePage;
  int _nextPage;
  int _lastPage;
  bool _isFirstPage;
  bool _isLastPage;
  bool _hasPreviousPage;
  bool _hasNextPage;
  int _navigatePages;
  List<int> _navigatepageNums;

  int get pageNum => _pageNum;
  int get pageSize => _pageSize;
  int get size => _size;
  int get startRow => _startRow;
  int get endRow => _endRow;
  int get total => _total;
  int get pages => _pages;
  List<ListBean> get list => _list;
  int get firstPage => _firstPage;
  int get prePage => _prePage;
  int get nextPage => _nextPage;
  int get lastPage => _lastPage;
  bool get isFirstPage => _isFirstPage;
  bool get isLastPage => _isLastPage;
  bool get hasPreviousPage => _hasPreviousPage;
  bool get hasNextPage => _hasNextPage;
  int get navigatePages => _navigatePages;
  List<int> get navigatepageNums => _navigatepageNums;

  DataBean(this._pageNum, this._pageSize, this._size, this._startRow, this._endRow, this._total, this._pages, this._list, this._firstPage, this._prePage, this._nextPage, this._lastPage, this._isFirstPage, this._isLastPage, this._hasPreviousPage, this._hasNextPage, this._navigatePages, this._navigatepageNums);

  DataBean.map(dynamic obj) {
    this._pageNum = obj["pageNum"];
    this._pageSize = obj["pageSize"];
    this._size = obj["size"];
    this._startRow = obj["startRow"];
    this._endRow = obj["endRow"];
    this._total = obj["total"];
    this._pages = obj["pages"];
    this._list = obj["list"];
    this._firstPage = obj["firstPage"];
    this._prePage = obj["prePage"];
    this._nextPage = obj["nextPage"];
    this._lastPage = obj["lastPage"];
    this._isFirstPage = obj["isFirstPage"];
    this._isLastPage = obj["isLastPage"];
    this._hasPreviousPage = obj["hasPreviousPage"];
    this._hasNextPage = obj["hasNextPage"];
    this._navigatePages = obj["navigatePages"];
    this._navigatepageNums = obj["navigatepageNums"];
  }

  Map<String, dynamic> toMap() {
    var map = new Map<String, dynamic>();
    map["pageNum"] = _pageNum;
    map["pageSize"] = _pageSize;
    map["size"] = _size;
    map["startRow"] = _startRow;
    map["endRow"] = _endRow;
    map["total"] = _total;
    map["pages"] = _pages;
    map["list"] = _list;
    map["firstPage"] = _firstPage;
    map["prePage"] = _prePage;
    map["nextPage"] = _nextPage;
    map["lastPage"] = _lastPage;
    map["isFirstPage"] = _isFirstPage;
    map["isLastPage"] = _isLastPage;
    map["hasPreviousPage"] = _hasPreviousPage;
    map["hasNextPage"] = _hasNextPage;
    map["navigatePages"] = _navigatePages;
    map["navigatepageNums"] = _navigatepageNums;
    return map;
  }

}

/// id : "1"
/// name : "test"
/// logoPath : "operation/data/app/logo/692307082761867264.jpeg"
/// logoUrl : "http://cunw-edu-statics-test.oss-cn-hangzhou.aliyuncs.com/operation/data/app/logo/692307082761867264.jpeg"
/// describes : "xx"
/// stages : "1"
/// grades : null
/// productId : "C001"
/// coefficient : "0"
/// downloadNumber : 0
/// startNumber : 0
/// detailsNumber : 0
/// status : 1
/// createDate : null
/// updateDate : null
/// versionId : "1"
/// packageName : "com.aixuexi.gushi"
/// md5Value : "2361e9434372dbe5f2d207cd1cdc8c0f"
/// versionNumber : 1
/// versionName : "1.0.0"
/// versionDesc : null
/// fileSize : null
/// appStatus : 0
/// authApplyId : null

class ListBean {
  String _id;
  String _name;
  String _logoPath;
  String _logoUrl;
  String _describes;
  String _stages;
  dynamic _grades;
  String _productId;
  String _coefficient;
  int _downloadNumber;
  int _startNumber;
  int _detailsNumber;
  int _status;
  dynamic _createDate;
  dynamic _updateDate;
  String _versionId;
  String _packageName;
  String _md5Value;
  int _versionNumber;
  String _versionName;
  dynamic _versionDesc;
  dynamic _fileSize;
  int _appStatus;
  dynamic _authApplyId;

  String get id => _id;
  String get name => _name;
  String get logoPath => _logoPath;
  String get logoUrl => _logoUrl;
  String get describes => _describes;
  String get stages => _stages;
  dynamic get grades => _grades;
  String get productId => _productId;
  String get coefficient => _coefficient;
  int get downloadNumber => _downloadNumber;
  int get startNumber => _startNumber;
  int get detailsNumber => _detailsNumber;
  int get status => _status;
  dynamic get createDate => _createDate;
  dynamic get updateDate => _updateDate;
  String get versionId => _versionId;
  String get packageName => _packageName;
  String get md5Value => _md5Value;
  int get versionNumber => _versionNumber;
  String get versionName => _versionName;
  dynamic get versionDesc => _versionDesc;
  dynamic get fileSize => _fileSize;
  int get appStatus => _appStatus;
  dynamic get authApplyId => _authApplyId;

  ListBean(this._id, this._name, this._logoPath, this._logoUrl, this._describes, this._stages, this._grades, this._productId, this._coefficient, this._downloadNumber, this._startNumber, this._detailsNumber, this._status, this._createDate, this._updateDate, this._versionId, this._packageName, this._md5Value, this._versionNumber, this._versionName, this._versionDesc, this._fileSize, this._appStatus, this._authApplyId);

  ListBean.map(dynamic obj) {
    this._id = obj["id"];
    this._name = obj["name"];
    this._logoPath = obj["logoPath"];
    this._logoUrl = obj["logoUrl"];
    this._describes = obj["describes"];
    this._stages = obj["stages"];
    this._grades = obj["grades"];
    this._productId = obj["productId"];
    this._coefficient = obj["coefficient"];
    this._downloadNumber = obj["downloadNumber"];
    this._startNumber = obj["startNumber"];
    this._detailsNumber = obj["detailsNumber"];
    this._status = obj["status"];
    this._createDate = obj["createDate"];
    this._updateDate = obj["updateDate"];
    this._versionId = obj["versionId"];
    this._packageName = obj["packageName"];
    this._md5Value = obj["md5Value"];
    this._versionNumber = obj["versionNumber"];
    this._versionName = obj["versionName"];
    this._versionDesc = obj["versionDesc"];
    this._fileSize = obj["fileSize"];
    this._appStatus = obj["appStatus"];
    this._authApplyId = obj["authApplyId"];
  }

  Map<String, dynamic> toMap() {
    var map = new Map<String, dynamic>();
    map["id"] = _id;
    map["name"] = _name;
    map["logoPath"] = _logoPath;
    map["logoUrl"] = _logoUrl;
    map["describes"] = _describes;
    map["stages"] = _stages;
    map["grades"] = _grades;
    map["productId"] = _productId;
    map["coefficient"] = _coefficient;
    map["downloadNumber"] = _downloadNumber;
    map["startNumber"] = _startNumber;
    map["detailsNumber"] = _detailsNumber;
    map["status"] = _status;
    map["createDate"] = _createDate;
    map["updateDate"] = _updateDate;
    map["versionId"] = _versionId;
    map["packageName"] = _packageName;
    map["md5Value"] = _md5Value;
    map["versionNumber"] = _versionNumber;
    map["versionName"] = _versionName;
    map["versionDesc"] = _versionDesc;
    map["fileSize"] = _fileSize;
    map["appStatus"] = _appStatus;
    map["authApplyId"] = _authApplyId;
    return map;
  }

}